﻿{template admin_improt}
<script type="text/javascript">
$(document).ready(function(){
	$("#startTime").datepicker($.datepicker.regional['zh-CN']);
});
$(document).ready(function(){
	$("#endTime").datepicker($.datepicker.regional['zh-CN']);
});
function checkAllpartner(form, name) {
	for(var i = 0; i < form.elements.length; i++) {
		var e = form.elements[i];
		if(e.name.match(name)) {
			e.checked = form.elements['chkall'].checked;
		}
	}
}
</script>
<script type="text/javascript">
function ProductsSubmit(type){
	//type;1为推荐;2为取消推荐;3为批量删除
	if(type == 1){
		document.getElementById("p_form").action = "?p=hiring&a=Recommend&recommend=1";
		//alert(123);
		document.getElementById("p_form").submit();
        return true;
	} else if(type == 2) {
		document.getElementById("p_form").action = "?p=hiring&a=Recommend&recommend=2";
		document.getElementById("p_form").submit();
		return true;
	} if(type == 3) {
		if(confirm("确认删除所有选中数据么？操作不可恢复")){
			document.getElementById("p_form").action = "?p=user&a=delall";
			document.getElementById("p_form").submit();
			return true;
		} else {
			return false;
		}
	} else {
		return false;
	}
}

function delProducts(mid){
	if(confirm("确认执行此操作么？操作不可恢复")){
		window.location="admin.php?p=admin_user&a=del&a_id="+mid;
	}
}
</script>
<div class="mainStyle">
	<div class="mainTitle">
		<span class="mainTitle_text">
			后台管理员列表
		</span>
	</div>

	
	<div>
	<form id="p_form" name="p_form" action="admin.php?p=admin_user&a=add&ad=ad" method="post">
		管理员账号：<input type='text' name='username' id='username'/>
		管理员密码：<input type='password' name='pwd' id='pwd'/>
		<input type='submit' name='but' id='but' value='添加'/>

	 </form>
</div>
{template admin_bottom}